package cloudPayAdmin.constant;

public class BusiError {
	
	public static final String ERR_CODE_SUCCESS = "0";
	public static final String BLACK_HIS_SYNC_SUCCESS = "00";
	
	public static final String BUSI = "40";
	
	public static final String SESSION = "00";
	
	//param related yy=10
	public static final String PARAM = "10";
	public static final String ERR_CODE_PARAM_BAD_REQ = BUSI + PARAM + "002";
	public static final String ERR_MSG_PARAM_BAD_REQ = "请求数据错误";
	
	//用户异常
	public static final String USER = "16";
	public static final String ERR_CODE_USER_EXIST = BUSI + USER + "001";
	public static final String ERR_MSG_USER_EXIST = "用户已存在";	
	public static final String ERR_CODE_USER_NONE = BUSI + USER + "002";
	public static final String ERR_MSG_USER_NONE = "用户不存在";
	public static final String ERR_CODE_SAVE_USERROLE_FAIL = BUSI + USER + "003";
	public static final String ERR_MSG_SAVE_USERROLE_FAIL = "保存角色失败";
	public static final String ERR_CODE_IMG_VALIDATE_OVERDUE = BUSI + USER + "004";
	public static final String ERR_MSG_IMG_VALIDATE_OVERDUE = "验证码已过期";
	public static final String ERR_CODE_IMG_VALIDATE_ERROR = BUSI + USER + "004";
	public static final String ERR_MSG_IMG_VALIDATE_ERROR = "验证码错误";
	
	//卡片异常
	public static final String CARD = "17";
	public static final String ERR_CODE_EFFECTIVE_STATUS_FAIL = BUSI + CARD + "001";
	public static final String ERR_MSG_EFFECTIVE_STATUS_FAIL = "启用状态失败";
	public static final String ERR_CODE_UNEFFECTIVE_STATUS_FAIL = BUSI + CARD + "002";
	public static final String ERR_MSG_UNEFFECTIVE_STATUS_FAIL = "停用状态失败";
	public static final String ERR_CODE_AVAILABLE_EXIST_FAIL = BUSI + CARD + "003";
	public static final String ERR_MSG_AVAILABLE_EXIST_FAIL = "绑定失败";
	public static final String ERR_CODE_AVAILABLE_DELETE_FAIL = BUSI + CARD + "004";
	public static final String ERR_MSG_AVAILABLE_DELETE_FAIL = "解绑失败";
	public static final String ERR_CODE_CARD_HAS_BIND = BUSI + CARD + "005";
	public static final String ERR_MSG_CARD_HAS_BIND = "卡号已经被绑定";
	
	//角色异常
	public static final String ROLE = "18";
	public static final String ERR_CODE_SAVE_ROLEPRIVILEGE_FAIL = BUSI + ROLE + "001";
	public static final String ERR_MSG_SAVE_ROLEPRIVILEGE_FAIL = "保存权限失败";
	
	//菜单异常
	public static final String MENU= "19";
	public static final String ERR_CODE_MENU_NONE = BUSI + MENU + "001";
	public static final String ERR_MSG_MENU_NONE = "菜单不存在";
	public static final String ERR_CODE_MENU_TYPE_ERROR = BUSI + MENU + "002";
	public static final String ERR_MSG_MENU_TYPE_ERROR = "菜单类型不正确";
	public static final String ERR_CODE_MENU_PARENT_ID_ERROR = BUSI + MENU + "003";
	public static final String ERR_MSG_MENU_PARENT_ID_ERROR = "父菜单与本菜单ID不能相同";
	public static final String ERR_CODE_MENU_HAS_CHILDREN_ERROR = BUSI + MENU + "004";
	public static final String ERR_MSG_MENU_HAS_CHILDREN_ERROR = "父菜单下有子菜单";
	
	//商户异常
	public static final String MERCHANT= "20";
	public static final String ERR_CODE_MERCHANT_SETTLE_NO_RESULT = BUSI + MENU + "001";
	public static final String ERR_MSG_MERCHANT_SETTLE_NO_RESULT = "结算数据为空";


}
